﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Microsoft.Practices.ServiceLocation;
using TimeTravel.IServices;

namespace TimeTravel.Controllers
{
    public partial class SystemController : BaseController
    {
        static readonly ISysLogService SysLogService = ServiceLocator.Current.GetInstance<ISysLogService>();
        public PartialViewResult SysLog()
        {
            var sysLogList = SysLogService.GetAll();
            return PartialView(SubPagePath + "_SysLog.cshtml", sysLogList);
        }
    }
}
